package com.boss.salary.dao;

import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.SalaryBaseRelevanceDTO;

import java.util.List;

public interface ISalaryBaseRelevanceDao {
    /**
     * 按区划查询与省本级工资项关联关系
     * @param province
     * @return
     */
    List<SalaryBaseRelevanceDTO> selectSalaryBaseRelevance(PaginationDTO paginationDTO, String province);

    /**
     * 获取总条数
     * @param province
     * @return
     */
    int selectSalaryBaseRelevanceTotal(String province);

    /**
     * 批量更新插入关联关系
     * @param srList
     */
    void mergeIntoSalaryBaseRelevance(List<SalaryBaseRelevanceDTO> srList);
}
